package com.zuorenke.model.dto;


import java.util.Date;

/**
 * @author Z.R.K
 * @description
 * @create 2019-04-12 17:48:04
 **/
public class LessonReport {
	private Long lessonId;
	private Long schoolId;
	private Long subjectId;
	private Long teacherId;
	private Date startTime;
	private Date endTime;
	private Boolean isBeike;
	private Boolean isBeikeIncentive;
	private Boolean isDone;
	private Integer callNum;
	private Integer examNum;
	private Integer discuNum;
	private Integer quickNum;
	private Integer authedNum;
	private Integer flower;
	
	public Long getLessonId() {
		return lessonId;
	}
	
	public void setLessonId(Long lessonId) {
		this.lessonId = lessonId;
	}
	
	public Long getSchoolId() {
		return schoolId;
	}
	
	public void setSchoolId(Long schoolId) {
		this.schoolId = schoolId;
	}
	
	public Long getSubjectId() {
		return subjectId;
	}
	
	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}
	
	public Long getTeacherId() {
		return teacherId;
	}
	
	public void setTeacherId(Long teacherId) {
		this.teacherId = teacherId;
	}
	
	public Date getStartTime() {
		return startTime;
	}
	
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	
	public Date getEndTime() {
		return endTime;
	}
	
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	public Boolean getIsBeike() {
		return isBeike;
	}
	
	public void setIsBeike(Boolean isBeike) {
		this.isBeike = isBeike;
	}
	
	public Boolean getIsBeikeIncentive() {
		return isBeikeIncentive;
	}
	
	public void setIsBeikeIncentive(Boolean isBeikeIncentive) {
		this.isBeikeIncentive = isBeikeIncentive;
	}
	
	public Boolean getIsDone() {
		return isDone;
	}
	
	public void setIsDone(Boolean isDone) {
		this.isDone = isDone;
	}
	
	public Integer getCallNum() {
		return callNum;
	}
	
	public void setCallNum(Integer callNum) {
		this.callNum = callNum;
	}
	
	public Integer getExamNum() {
		return examNum;
	}
	
	public void setExamNum(Integer examNum) {
		this.examNum = examNum;
	}
	
	public Integer getDiscuNum() {
		return discuNum;
	}
	
	public void setDiscuNum(Integer discuNum) {
		this.discuNum = discuNum;
	}
	
	public Integer getQuickNum() {
		return quickNum;
	}
	
	public void setQuickNum(Integer quickNum) {
		this.quickNum = quickNum;
	}
	
	public Integer getAuthedNum() {
		return authedNum;
	}
	
	public void setAuthedNum(Integer authedNum) {
		this.authedNum = authedNum;
	}
	
	public Integer getFlower() {
		return flower;
	}
	
	public void setFlower(Integer flower) {
		this.flower = flower;
	}
	
	public Integer getInteractTimes(){
		return (callNum == null ? 0 : callNum) +
				(discuNum == null ? 0 : discuNum) +
				(authedNum == null ? 0 : authedNum) +
				(quickNum == null ? 0 : quickNum) +
				(examNum == null ? 0 : examNum);
	}
}
